﻿@page
@using System.Web
@model LogoutModel
@{
    ViewData["PageName"] = "logout";
    ViewData["Title"] = "Log out";
    var action = HttpUtility.UrlDecode(Request.Query["returnUrl"].FirstOrDefault()) ?? "/";
}

<div class="col-xl-6 ml-auto mr-auto">
    <div class="p-4 text-center text-white">
      <h3>您已经成功退出应用程序.</h3>
      <p>出于安全考虑，建议您关闭浏览器.</p>
    </div>
    <div class="row no-gutters">
        <div class="col-md-4 ml-auto text-left pr-1">
            <a class="btn btn-block btn-primary mt-3 btn-link text-white ml-auto border-0" asp-area="Identity" asp-page="/account/login">
                <i class="fal fa-shield-check fs-lg mr-1"></i> 登录
            </a>
        </div>
        <div class="col-md-4 ml-auto text-right pl-1 pr-1">
            <a class="btn btn-block btn-success bg-success-700 mt-3 btn-link text-white ml-auto border-0" asp-area="Identity" asp-page="/account/register">
                <i class="fal fa-user fs-lg mr-1"></i> 注册
            </a>
        </div>
        <div class="col-md-4 ml-auto text-right pl-1">
          <a class="btn btn-block btn-danger bg-danger-700 mt-3 btn-link text-white ml-auto border-0" href="@action">
            <i class="fal fa-arrow-alt-left fs-lg mr-1"></i> 回到以前
          </a>
        </div>
    </div>
</div>
